//*****************************************************************************
// Wireless.h
//*****************************************************************************

#ifndef __WIRELESS_TASK_H__
#define __WIRELESS_TASK_H__

#include "inc/hw_types.h"

typedef struct
{
	unsigned char rightWheelSpeed;
	unsigned char rightTickCount;
	unsigned char rightDirection;

	unsigned char leftWheelSpeed;
	unsigned char leftTickCount;
	unsigned char leftDirection;
}
DanceInstruction;


//*****************************************************************************
// Function prototypes for the autonomous task module.
//*****************************************************************************
extern void WirelessInit();
extern void WirelessTask(void *pvParam);

extern void LeaderLink1();
extern void LeaderLink2();
extern void SendInstruction(DanceInstruction instruction);


#endif
